package com.nateshao.service;

import com.nateshao.domain.Student;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

import static org.junit.jupiter.api.Assertions.*;

/**
 * @Author TongJie Shao
 * Created by @Author  on 2020/7/13 12:09
 */
@SpringBootTest
class StudentServiceTest1 {

    private StudentService studentService;
    
    @Test
    void getStudentById() {
    }
    @Test
    public void test1(){
        Student student = studentService.getStudentById(1);
        assertNotNull(student);
        assertEquals(student.getId(),1);
    }
    
}